Release 10.1A: OpenEdge Development:
Progress Dynamics Web Development Guide


Configuring the Apache Web server

These configuration instructions apply to the Apache Web Server Version 1.3 and later. Configuration tasks include:

The Apache Web Server must be restarted after you make configuration changes.

Setting up virtual directories

You create a virtual directory for Progress Dynamics static files so that the Web server can find them. (The other alternative is to copy the static files to the Web server’s Document Root directory.) You can think of a virtual directory as an alias for install_dir\tty\dynamics\ry, the directory where the Progress Dynamics install places the static files.

For the Apache Web server, edit (apache_install_dir/conf/httpd.conf) and create a dynamics10 alias for OpenEdge_install_dir/tty/dynamics/ry. The following example shows the entry:

Alias /dynamics10/ "OpenEdge_install_dir/tty/dynamics/ry/" 
<Directory "OpenEdge_install_dir/tty/dynamics/ry"> 
    Options Indexes MultiViews 
    AllowOverride None 
    Order allow,deny 
    Allow from all 
</Directory> 

Setting up extension mapping

You use extension mapping to enable the Web Server to find the Progress Dynamics WebSpeed Broker. (The other alternative is to explicitly name the Broker in the default HTML layout file.)

For the Apache Web server, edit (apache_install_dir/conf/httpd.conf) to add a directive (ScriptAliasMatch) that allows for mapping of the .icf extension. The first two lines in the following example show the entry (in the actual file the entry must be on a single line):

ScriptAliasMatch (.*)\.icf$ 
"apache_install_dir/cgi-bin/cgiip.exe/WService=wsdynamics1/$1" 
Alias /dynamics10/ "OpenEdge_install_dir/tty/dynamics/ry/" 
<Directory "OpenEdge_install_dir/tty/dynamics/ry"> 
    Options Indexes MultiViews 
    AllowOverride None 
    Order allow,deny 
    Allow from all 
</Directory>  

The order of directives in the Apache configuration file is important. Be sure that the ScriptAliasMatch directive precedes the Alias and Directory directives, as previously shown.

Note: If you use extension mapping, only one Progress Dynamics Broker can be set up for the Web server.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095